﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for AdminBaseMaster
/// </summary>
public class AdminBaseMaster : System.Web.UI.MasterPage
{
    public tblStaff LoginedStaff
    {
        get
        {
            if (Session["LoginedStaff"] != null)
                return (tblStaff)Session["LoginedStaff"];
            return new tblStaff();
        }
        set
        {
            Session["LoginedStaff"] = value;
        }
    }

    public bool isLogin()
    {
        if (Session["LoginedStaff"] != null)
            return true;
        return false;
    }

	public AdminBaseMaster()
	{
		
	}
}